﻿<script language="JavaScript">
  initdata(1);
</script>
<!-- 隐藏层 -->
<div id="overlay"></div>
<div id="win">
	<h2><span id="close" onclick="CloseWin()">×</span></h2>
			<p>确认要删除吗？</p>
			<button onclick="ReturnParent()">确认</button>
			<button onclick="CloseWin()">放弃</button>
			<div id="wintmp" style="display:none;"></div>
	</form>
</div>
	
<!-- 显示标题 -->
<div class="div_title">
	<div class="div_pagenum">
		<center>
		共 <span id="totalNum">1</span> 页 当前第 <span id="number">1</span> 页
		<span id="theFirstPage"><a href="javascript:firstPage()">第一页</a></span>
		<span id="thePrePage"><a href="javascript:prePage()">上一页</a></span>
		<span id="theNextPage"><a href="javascript:nextPage()">下一页</a></span>
		<span id="theLastPage"><a href="javascript:lastPage()">最后一页</a></span>
		转到第<select onChange="gotoPage(this.value)" name="goto" id="mySelect">
		<option value=1>1</option>
		</select>页
		</center>
	</div>
	<br>
	<table id="id_myTable">
		{% for idx,onetitle in titleinfo %}
			<tr>
				<td><a href="/attention/modify/?idx={{idx}}" target="_blank">改</a></td>
				<td><a onclick="OpenWin({{idx}})" style="cursor: pointer;">删</a></td>
				<td><a href="/attention/article/{{idx}}" target="_blank">{{onetitle}}</a></td>
			</tr>
		{% endfor %}
	</table>
</div>